<html>

<head>
    <link rel="stylesheet" href="../../normalize.css">
    <link rel="stylesheet" href="../../index.css">
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>

<body>

    <div id="example">
        <div v-bind:style="[baseStyles, overridingStyles]">taking care</div>
    </div>

    <script type="text/javascript">
        var vm = new Vue({
            el: '#example',
            data: {
                baseStyles: {
                    color: 'green',
                    fontSize: '30px'
                },
                overridingStyles: {
                    color: 'red',
                    fontSize: '13px'
                }
            }
        });
    </script>
</body>

</html>